package apiday01;

/**
 *
 */
public class CharAtDemo {
    public static void main(String[] args) {
       String str = "thinking in java";
       char c = str.charAt(6);
       System.out.println(c);






        /*String str = "thinking in java";
       char c = str.charAt(7);
       System.out.println(c);

        */


        //            0123456789012345
       /* String str = "thinking in java";
        char c = str.charAt(8);
        System.out.println(c);

        */
    }
}
